#include "games/endgame.h"

EndGame::EndGame(QWidget *parent, int difflvl) :
    BaseGame(parent, difflvl)
{
    QString string = QString("Congratulations! You just finished the game: if yo want more try higher difficulty levels or wait for updates. We hope you enjoied the game.");
    QLabel * rules_label = new QLabel(string);
    rules_label->setWordWrap(true);
    rules_label->setMinimumHeight(200);
    string = QString("Just enter your name below:");
    QLabel * name_label = new QLabel(string);
    name_lineedit = new QLineEdit(this);

    lay->addWidget(rules_label);
    lay->addWidget(name_label);
    lay->addWidget(name_lineedit);
}
